﻿<Window x:Class="CECB.Member_Window"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
              Title="CECB - Member" 
        x:Name="Window"
        Width="500" Height="450"
        WindowStartupLocation="CenterScreen" WindowState="Normal" ResizeMode="NoResize" Icon="/Images/cecb1.ico" xmlns:my="http://schemas.microsoft.com/winfx/2006/xaml/presentation/ribbon">
    <Window.Background>
        <LinearGradientBrush EndPoint="1,0.5" StartPoint="0,0.5">
            <GradientStop Color="#FF144BC7" Offset="0" />
            <GradientStop Color="#FFB2FCFC" Offset="1" />
        </LinearGradientBrush>
    </Window.Background>
    <Grid>
        <WrapPanel></WrapPanel>
        <StackPanel VerticalAlignment="Top" HorizontalAlignment="Center" Margin="36,0,54,0" Width="388" Height="auto">
            <WrapPanel VerticalAlignment="Top" Height="auto" Orientation="Horizontal">
                <Label Content="Create a New Member" Height="auto" HorizontalAlignment="Center" Margin="0,10,10,0"  VerticalAlignment="Center" Width="auto" FontSize="20" FontStretch="Normal" FontStyle="Normal" FontWeight="Black" Foreground="#FFEFEFEF"></Label>
               
               
            </WrapPanel >
            
            
            <WrapPanel VerticalAlignment="Top">
                <TextBox Height="30" HorizontalAlignment="Left" Margin="250,7,0,0" Name="textBox_FirstName" VerticalAlignment="Top" Width="130" FontSize="14" Foreground="#FF4E0000" />
                <Label Content="First Name" Height="28" Name="label1" HorizontalAlignment="Left" Margin="25,-22,0,0" VerticalAlignment="Top" FontSize="14" FontStyle="Italic" FontWeight="Medium" Foreground="White" BorderThickness="0" BorderBrush="White" />
            </WrapPanel>
            <WrapPanel VerticalAlignment="Top">
                <TextBox Height="30" HorizontalAlignment="Left" Margin="250,7,0,0" Name="textBox_LastName" VerticalAlignment="Top" Width="130" FontSize="14" Foreground="#FF4E0000" />
                <Label Content="Last Name" Height="28" Name="label2" HorizontalAlignment="Left" Margin="25,-22,0,0" VerticalAlignment="Top" FontSize="14" FontStyle="Italic" FontWeight="Medium" Foreground="White" BorderThickness="0" BorderBrush="White" />
            </WrapPanel>
            <WrapPanel VerticalAlignment="Top">
                <TextBox Height="30" HorizontalAlignment="Left" Margin="250,7,0,0" Name="textBox_Nic" VerticalAlignment="Top" Width="130" FontSize="14" Foreground="#FF4E0000" />
                <Label Content="NIC" Height="28" Name="label3" HorizontalAlignment="Left" Margin="25,-22,0,0" VerticalAlignment="Top" FontSize="14" FontStyle="Italic" FontWeight="Medium" Foreground="White" BorderThickness="0" BorderBrush="White" />
            </WrapPanel>
            <WrapPanel VerticalAlignment="Top">
                <TextBox Height="30" HorizontalAlignment="Left" Margin="250,7,0,0" Name="textBox_Designation" VerticalAlignment="Top" Width="130" FontSize="14" Foreground="#FF4E0000" />
                <Label Content="Designation" Height="28" Name="label4" HorizontalAlignment="Left" Margin="25,-22,0,0" VerticalAlignment="Top" FontSize="14" FontStyle="Italic" FontWeight="Medium" Foreground="White" BorderThickness="0" BorderBrush="White" />
            </WrapPanel>
            <WrapPanel VerticalAlignment="Top">
                <TextBox Height="auto" HorizontalAlignment="Left" Margin="250,7,0,0" Name="textBox_Address" VerticalAlignment="Top" Width="130" MinHeight="30" MaxHeight="60" TextWrapping="Wrap" AcceptsReturn="True" FontSize="14" Foreground="#FF4E0000" />
                <Label Content="Address" Height="28" Name="label5" HorizontalAlignment="Left" Margin="25,-22,0,0" VerticalAlignment="Top" FontSize="14" FontStyle="Italic" FontWeight="Medium" Foreground="White" BorderThickness="0" BorderBrush="White" />
            </WrapPanel>
            <WrapPanel VerticalAlignment="Top">
                <TextBox Height="30" HorizontalAlignment="Left" Margin="250,7,0,0" Name="textBox_ContactNo" VerticalAlignment="Top" Width="130" PreviewTextInput="NumberValidationTextBox" FontSize="14" Foreground="#FF4E0000" />
                <Label Content="Contact No" Height="28" Name="label6" HorizontalAlignment="Left" Margin="25,-22,0,0" VerticalAlignment="Top" FontSize="14" FontStyle="Italic" FontWeight="Medium" Foreground="White" BorderThickness="0" BorderBrush="White" />
            </WrapPanel>
            <WrapPanel VerticalAlignment="Top">
                <TextBox Height="30" HorizontalAlignment="Left" Margin="250,7,0,0" Name="textBox_Email" VerticalAlignment="Top" Width="130" PreviewTextInput="Email_PreviewTextInput" FontSize="14" Foreground="#FF4E0000" />
                <Label Content="Email" Height="28" Name="label7" HorizontalAlignment="Left" Margin="25,-22,0,0" VerticalAlignment="Top" FontSize="14" FontStyle="Italic" FontWeight="Medium" Foreground="White" BorderThickness="0" BorderBrush="White" />
            </WrapPanel>
            <WrapPanel VerticalAlignment="Top" Height="5" >
                <WrapPanel.Background>
                    <LinearGradientBrush EndPoint="1,0.5" StartPoint="0,0.5">
                        <GradientStop Color="#FFA3EBF7" Offset="0" />
                        <GradientStop Color="#FF225BCC" Offset="1" />
                    </LinearGradientBrush>
                </WrapPanel.Background>
            </WrapPanel>
        </StackPanel>
        <StackPanel Name="stackPanel14" Orientation="Horizontal" Margin="0,360,60,0" HorizontalAlignment="Right">
            
            <Button Background="{x:Null}" BorderBrush="{x:Null}" Click="SaveButton_Click" Height="44" Margin="2,0" Name="SaveButton" Width="98">
                <Grid>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="Auto" />
                        <ColumnDefinition Width="*" />
                    </Grid.ColumnDefinitions>
                    <Image Grid.Column="0" Height="32" Margin="2" Source="images\save.png" Width="32" />
                    <StackPanel Grid.Column="1" HorizontalAlignment="Stretch" Margin="2" VerticalAlignment="Center">
                        <TextBlock Margin="0" Padding="0" Text="Save" TextWrapping="NoWrap" />
                    </StackPanel>
                </Grid>
            </Button>
            <Button Background="{x:Null}" BorderBrush="{x:Null}" Click="CloseButton_Click" Height="44" Margin="2,0" Name="CloseButton" Width="98">
                <Grid>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="Auto" />
                        <ColumnDefinition Width="*" />
                    </Grid.ColumnDefinitions>
                    <Image Grid.Column="0" Height="32" Margin="2" Source="images\close.png" Width="32" />
                    <StackPanel Grid.Column="1" HorizontalAlignment="Stretch" Margin="2" VerticalAlignment="Center">
                        <TextBlock Margin="0" Padding="0" Text="Close" TextWrapping="NoWrap" />
                    </StackPanel>
                </Grid>
            </Button>
        </StackPanel>
        <!--<Expander Header="Members" Name="expander1" HorizontalAlignment="Left" Height="109" Width="158" Margin="263,7,0,295">
            <Grid >
                <WrapPanel Name="stackPanel15"  Orientation="Horizontal" Height="80" Width="150">
                    <DataGrid AutoGenerateColumns="True" Height="auto" Name="gridMember" Width="200" />
                </WrapPanel>
            </Grid>
        </Expander>-->
    </Grid>
</Window>
